package com.cdtye.shuoh.service.product;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cdtye.shuoh.domain.product.entity.ProductTemplate;
import org.springframework.stereotype.Service;

@Service
public interface ProductTemplateService extends IService<ProductTemplate> {
    public void insertOrUpdateProductTemplate(ProductTemplate productTemplate);

    public String getTdengineJsonByProductIdAndServiceId(String productId,String serviceId);

    public ProductTemplate getByProductIdAndServiceId(String productId,String serviceId);

    int deleteByProductIdentification(String productIdentification);
}
